package com.generator.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.generator.shop.entity.Shop;
import com.generator.utils.PageData;
import java.util.Map;

/**
* <p>
    * 商店信息 服务类
    * </p>
*
* @author miao
* @since 2024-01-02
*/
    public interface ShopService extends IService<Shop> {

    /**
    * 添加信息
    * @param entity
    * @return
    */
    int add(Shop entity);

    /**
    * 编辑信息
    * @param entity
    * @return
    */
    int update(Shop entity);

    int delete(Long id);

    /**
     * 分页查询
     * @param params
     * @return
     */
    PageData<Shop> Page(Map<String,Object> params);
}


